//**********用户组成员个人（部门）***********/;
import request from '@/utils/request.js';

/**
 * 新增用户组成员
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * data 参数 // 类型 array
 * []undefined
 * @returns
 * ********
 */
export function postHmusergroupmember(data=[], config={}){
  return request({
    method: 'post',
    data,
    url: `/api/hmusergroupmember`,
    ...config,
  }) 
}

/**
 * 删除用户组成员
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * params 参数 
 * id:'', //id 必填
 * @returns
 * ********
 */
export function deleteHmusergroupmember(params={}, config={}){
  return request({
    method: 'delete',
    params,
    url: `/api/hmusergroupmember`,
    ...config,
  }) 
}

/**
 * 获取用户组成员
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * params 参数 
 * groupId:'', //groupId 必填
 * @returns
 * ********
 */
export function getHmusergroupmemberList(params={}, config={}){
  return request({
    method: 'get',
    params,
    url: `/api/hmusergroupmember/list`,
    ...config,
  }) 
}